home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Software Contest 3
/
FM Towns Software Contest 3.iso
/
exp
/
video_t
/
no1
/
c_sorse
/
check.c
< prev
next >
Wrap
Text File
|
1994-01-07
|
4KB
|
175 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int Dialog_che ;
extern int Message_che ;
extern int _001Message_che ;
extern int _002Message_che ;
extern int DButton_che ;
extern int che_on() ;
extern int _001DButton_che ;
extern int che_off() ;
extern int Message_cha5 ;
extern int _001Message_cha5 ;
extern int _003Message_che ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init 用データ */
/* ヘッダ */
MMIINIT initDataCHECK = { "MmiInit", 9, 0 } ;
/* Dialog_che */
static MMIPACKET d001 = { &Dialog_che,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
0
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40,
107, 40, 369, 185, 0, 7, 0,
MS_SRECTL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* Message_che */
static MMIPACKET d002 = { &Message_che,
&Dialog_che,
&MJ_MSGL40,
OFFSET(MSGL40),
0
} ;
static MSGL40 d002d = { MS_CENTERL40 | MS_DSPONLYL40,
112, 45, 360, 68, 0,15,12,
MS_NONEL40,
"座標チェック",
2, 16, 16,
MS_NONEL40,
3, 0
} ;
/* _001Message_che */
static MMIPACKET d003 = { &_001Message_che,
&Dialog_che,
&MJ_MSGL40,
OFFSET(MSGL40),
0
} ;
static MSGL40 d003d = { MS_CENTERL40 | MS_DSPONLYL40,
112, 72, 363, 90, 0,15,14,
MS_NONEL40,
"実行中に座標を指定します。",
1, 12, 12,
MS_NONEL40,
1, 0
} ;
/* _002Message_che */
static MMIPACKET d004 = { &_002Message_che,
&Dialog_che,
&MJ_MSGL40,
OFFSET(MSGL40),
0
} ;
static MSGL40 d004d = { MS_CENTERL40 | MS_DSPONLYL40,
114, 95, 360, 111, 0,15,14,
MS_NONEL40,
"実行後に/IFに続く2つの座標が出力され",
1, 12, 12,
MS_NONEL40,
1, 0
} ;
/* DButton_che */
static MMIPACKET d005 = { &DButton_che,
&Dialog_che,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
0
} ;
static DBUTTONL40 d005d = { MS_BTLEFTL40 | MS_EVKEYONL40 | MS_EVMOSOFFL40,
138, 143, 217, 168, 0, 7, 0,
MS_UFRAMEL40 | MS_FRAMEL40 | MS_DEFAULTL40,
che_on,
0x0000
} ;
/* _001DButton_che */
static MMIPACKET d006 = { &_001DButton_che,
&Dialog_che,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
0
} ;
static DBUTTONL40 d006d = { MS_BTLEFTL40 | MS_EVKEYONL40 | MS_EVMOSOFFL40,
255, 144, 334, 169, 0, 7, 0,
MS_UFRAMEL40 | MS_FRAMEL40,
che_off,
0x0000
} ;
/* Message_cha5 */
static MMIPACKET d007 = { &Message_cha5,
&Dialog_che,
&MJ_MSGL40,
OFFSET(MSGL40),
0
} ;
static MSGL40 d007d = { MS_CENTERL40 | MS_DSPONLYL40,
140, 144, 217, 167, 0,15,15,
MS_NONEL40,
"確定",
2, 16, 16,
MS_NONEL40,
16, 0
} ;
/* _001Message_cha5 */
static MMIPACKET d008 = { &_001Message_cha5,
&Dialog_che,
&MJ_MSGL40,
OFFSET(MSGL40),
0
} ;
static MSGL40 d008d = { MS_CENTERL40 | MS_DSPONLYL40,
256, 145, 333, 168, 0,15,15,
MS_NONEL40,
"取消",
2, 16, 16,
MS_NONEL40,
16, 0
} ;
/* _003Message_che */
static MMIPACKET d009 = { &_003Message_che,
&Dialog_che,
&MJ_MSGL40,
OFFSET(MSGL40),
0
} ;
static MSGL40 d009d = { MS_CENTERL40 | MS_DSPONLYL40,
112, 113, 355, 129, 0,15,14,
MS_NONEL40,
"ますので後でラベル名を入力して下さい",
1, 12, 12,
MS_NONEL40,
1, 0
} ;